package com.yf.activity;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;


@EnableDiscoveryClient // 声明这是一个 Eureka 服务
@SpringBootApplication
@EnableFeignClients
@MapperScan("com.yf.activity.mapper")
public class ActivityApplication {
    public static void main(String args[]) {
        SpringApplication.run(ActivityApplication.class, args);
    }

}
